tag @s add fisland_hasput
execute if entity @s[tag=fisland_craftingtable] run function fislandpp:put/crafting_table
execute if entity @s[tag=fisland_hand_grinder] run function fislandpp:put/hand_grinder
execute if entity @s[tag=fisland_auto_grinder] run function fislandpp:put/fisland_auto_grinder
execute if entity @s[tag=fisland_soul_stone] run function fislandpp:items/soul_stone/release
execute unless entity @s[tag=fisland_soul_stone] run replaceitem entity @s[nbt={SelectedItemSlot: 0},gamemode=!creative] hotbar.0 air
execute unless entity @s[tag=fisland_soul_stone] run replaceitem entity @s[nbt={SelectedItemSlot: 1},gamemode=!creative] hotbar.1 air
execute unless entity @s[tag=fisland_soul_stone] run replaceitem entity @s[nbt={SelectedItemSlot: 2},gamemode=!creative] hotbar.2 air
execute unless entity @s[tag=fisland_soul_stone] run replaceitem entity @s[nbt={SelectedItemSlot: 3},gamemode=!creative] hotbar.3 air
execute unless entity @s[tag=fisland_soul_stone] run replaceitem entity @s[nbt={SelectedItemSlot: 4},gamemode=!creative] hotbar.4 air
execute unless entity @s[tag=fisland_soul_stone] run replaceitem entity @s[nbt={SelectedItemSlot: 5},gamemode=!creative] hotbar.5 air
execute unless entity @s[tag=fisland_soul_stone] run replaceitem entity @s[nbt={SelectedItemSlot: 6},gamemode=!creative] hotbar.6 air
execute unless entity @s[tag=fisland_soul_stone] run replaceitem entity @s[nbt={SelectedItemSlot: 7},gamemode=!creative] hotbar.7 air
execute unless entity @s[tag=fisland_soul_stone] run replaceitem entity @s[nbt={SelectedItemSlot: 8},gamemode=!creative] hotbar.8 air